'use strict';

function spilt_to_zero(number, interval) {
  //在这里写入代码
  let arr = [] ;
  while(number > 0){
    arr.push(parseFloat(number));
    number = (number - interval).toFixed(1) ;
  }
  arr.push(parseFloat(number));
  return arr ; 
}

module.exports = spilt_to_zero;
